home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 14 / CU Amiga Magazine's Super CD-ROM 14 (1997)(EMAP Images)(GB)(Track 1 of 3)[!][issue 1997-09].iso / CUCD / Sound / GSMToast / man / gsm_print.3.txt < prev    next >
Encoding:
Text File  |  1996-04-28  |  1.5 KB  |  67 lines

  1.  
  2.  
  3.  
  4. GSM_PRINT(3)           C Library Functions           GSM_PRINT(3)
  5.  
  6.  
  7.  
  8. NAME
  9.      gsm_print - GSM 06.10 supplementary function for debugging
  10.  
  11. SYNOPSIS
  12.      #include "gsm.h" #include <stdio.h>
  13.  
  14.      int gsm_print(f, g, frame);
  15.      FILE * f;
  16.      gsm    g;
  17.      gsm_frame frame;
  18.  
  19. DESCRIPTION
  20.      Gsm is an implementation of the final draft GSM 06.10  stan-
  21.      dard  for  full-rate  speech  transcoding,  a  lossy  speech
  22.      compression algorithm.   The  compressed  form  involves  76
  23.      variables  with different numbers of significant bits packed
  24.      into 33 bytes.
  25.  
  26.      If you are interested in investigating the details  of  this
  27.      coding  scheme, gsm_print() can be used to dump the contents
  28.      of individual gsm_frames to a file pointer provided  by  the
  29.      application.
  30.  
  31. RETURN VALUE
  32.      gsm_print() returns -1 if the frame is invalid, else 0.
  33.  
  34. EXAMPLE
  35.      A single frame looks like this:
  36.      LARc:   29  32  20  11  08  05  06  07
  37.      #1:     Nc 0040    bc 0    Mc 1    xmaxc 60
  38.              06 04 00 03 03 06 04 02 02 04 05 04 01
  39.      #2:     Nc 0045    bc 1    Mc 1    xmaxc 48
  40.              03 07 01 03 04 04 07 01 03 02 04 05 03
  41.      #3:     Nc 0091    bc 1    Mc 1    xmaxc 46
  42.              00 03 03 07 01 06 02 04 05 03 03 02 04
  43.      #4:     Nc 0120    bc 0    Mc 1    xmaxc 47
  44.              07 03 06 00 03 03 06 05 00 03 02 07 04
  45.  
  46. BUGS
  47.      Please  direct  bug  reports  to  jutta@cs.tu-berlin.de  and
  48.      cabo@cs.tu-berlin.de.
  49.  
  50. SEE ALSO
  51.      gsm(3), gsm_explode(3)
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63. SunOS 5.4                 Last change:                          1
  64.  
  65.  
  66.  
  67.